package net.hn.hnms.biz.gasext;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

import javax.annotation.PostConstruct;
import java.util.TimeZone;

/**
 * 生产管控-业务协同采煤模块服务
 *
 * @author wanglong
 */

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "net.hn.hnms")
@ComponentScan(basePackages = {"net.hn.hnms"})
public class GasextApplication {
    @PostConstruct
    void init() {
        TimeZone.setDefault(TimeZone.getTimeZone("GMT+8"));
    }

    public static void main(String[] args) {
        SpringApplication.run(GasextApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  业务瓦斯抽采服务 启动成功   ლ(´ڡ`ლ)ﾞ  ");
    }

}
